package com.smallrig.mall.template.service;

import com.smallrig.mall.template.entity.OrderInfo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lry
 * @since 2022-08-24
 */
public interface IOrderService extends IService<OrderInfo> {

    void createOrder();

    List<OrderInfo> queryByUserId(Long userId);

    List<OrderInfo> queryByOrderNo(String orderNo);
}
